package com.uls.zsw.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.uls.zsw.vo.BillingTaskCommentVo;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.uls.common.annotation.Excel;
import com.uls.common.core.domain.BaseEntity;

/**
 * 电费结算对象 zsw_electricity_billing
 * 
 * @author zsw
 * @date 2024-12-28
 */
public class ElectricityBilling extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 结算编号 */
    private Long billingId;

    /** 用电信息编号 */
    @Excel(name = "用电信息编号")
    private Long electricityUsageId;

    /** 结算月份 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结算月份", width = 30, dateFormat = "yyyy-MM-dd")
    private String billingMonth;

    /** 总电费 */
    @Excel(name = "总电费")
    private BigDecimal totalCost;

    /** 支付状态(0:未支付,1:已支付) */
    @Excel(name = "支付状态(0:未支付,1:已支付)")
    private Integer paymentStatus;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updtaeTime;

    /** 删除人 */
    @Excel(name = "删除人")
    private String deleteBy;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deleteTime;

    /** 删除标记 */
    @Excel(name = "删除标记")
    private Integer deleteFlag;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long flowInstantId;

    /**  房间号 */
    private String selecteddn;

    private Integer confirmresult;

    private String confirmcomment;

    private List<BillingTaskCommentVo> taskCommentVoList;

    public void setBillingId(Long billingId) 
    {
        this.billingId = billingId;
    }

    public Long getBillingId() 
    {
        return billingId;
    }
    public void setElectricityUsageId(Long electricityUsageId) 
    {
        this.electricityUsageId = electricityUsageId;
    }

    public Long getElectricityUsageId() 
    {
        return electricityUsageId;
    }
    public void setBillingMonth(String billingMonth)
    {
        this.billingMonth = billingMonth;
    }

    public String getBillingMonth()
    {
        return billingMonth;
    }
    public void setTotalCost(BigDecimal totalCost) 
    {
        this.totalCost = totalCost;
    }

    public BigDecimal getTotalCost() 
    {
        return totalCost;
    }
    public void setPaymentStatus(Integer paymentStatus)
    {
        this.paymentStatus = paymentStatus;
    }

    public Integer getPaymentStatus()
    {
        return paymentStatus;
    }
    public void setUpdtaeTime(Date updtaeTime) 
    {
        this.updtaeTime = updtaeTime;
    }

    public Date getUpdtaeTime() 
    {
        return updtaeTime;
    }
    public void setDeleteBy(String deleteBy) 
    {
        this.deleteBy = deleteBy;
    }

    public String getDeleteBy() 
    {
        return deleteBy;
    }
    public void setDeleteTime(Date deleteTime) 
    {
        this.deleteTime = deleteTime;
    }

    public Date getDeleteTime() 
    {
        return deleteTime;
    }
    public void setDeleteFlag(Integer deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public Integer getDeleteFlag() 
    {
        return deleteFlag;
    }
    public void setFlowInstantId(Long flowInstantId) 
    {
        this.flowInstantId = flowInstantId;
    }

    public Long getFlowInstantId() 
    {
        return flowInstantId;
    }

    public Integer getConfirmresult() {
        return confirmresult;
    }

    public void setConfirmresult(Integer confirmresult) {
        this.confirmresult = confirmresult;
    }

    public String getConfirmcomment() {
        return confirmcomment;
    }

    public void setConfirmcomment(String confirmcomment) {
        this.confirmcomment = confirmcomment;
    }

    public List<BillingTaskCommentVo> getTaskCommentVoList() {
        return taskCommentVoList;
    }

    public void setTaskCommentVoList(List<BillingTaskCommentVo> taskCommentVoList) {
        this.taskCommentVoList = taskCommentVoList;
    }

    public String getSelecteddn() {
        return selecteddn;
    }

    public void setSelecteddn(String selecteddn) {
        this.selecteddn = selecteddn;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("billingId", getBillingId())
            .append("electricityUsageId", getElectricityUsageId())
            .append("billingMonth", getBillingMonth())
            .append("totalCost", getTotalCost())
            .append("paymentStatus", getPaymentStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updtaeTime", getUpdtaeTime())
            .append("deleteBy", getDeleteBy())
            .append("deleteTime", getDeleteTime())
            .append("deleteFlag", getDeleteFlag())
            .append("flowInstantId", getFlowInstantId())
            .toString();
    }
}
